package com.competition.param.impl;

import javax.validation.constraints.Min;
import javax.validation.constraints.Pattern;

import com.admin.param.contract.IDesignatedMegotiatorData;
import com.competition.web.constant.ValidateCondtionAndMessage;

public class DesignatedMegotiatorData implements IDesignatedMegotiatorData {
	@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
	private Long id;
	
	@Pattern(regexp = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE, message = ValidateCondtionAndMessage.CHINESE_ENGLISH_NUMBER_UNDERLINE_MSG)
	private String name;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}